<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Ingreso al Sistema</title>
</head>
<body>
	<f:view>
		<h:form>
			<table border="1">
				<tr>
					<td>Usuario:</td>
					<td><h:inputText id="usuario" value="#{loginBean.usuario}"></h:inputText></td>
				</tr>
				<tr>
					<td>Clave:</td>
					<td><h:inputSecret id="clave" value="#{loginBean.clave}"></h:inputSecret></td>
				</tr>
				<tr>
					<td colspan="2"><h:commandButton value="Enviar"
						action="#{loginBean.validar }"></h:commandButton><f:verbatim></f:verbatim></td>
				</tr>
				<tr>
					<td colspan="2"><h:outputText value="#{msg_error}"></h:outputText></td>
				</tr>
			</table>
		</h:form>
	</f:view>
</body>
</html>